

cmake_minimum_required(VERSION 3.4.1)

find_library(log-lib
              log )

set(my_lib_path ${CMAKE_SOURCE_DIR}/libs)
#include_directories(${CMAKE_SOURCE_DIR}/src/main/cpp/inc)

#add_library( fmod
#             SHARED
#             IMPORTED )
#设置导入路径
#set_target_properties(
#    fmod
#    PROPERTIES IMPORTED_LOCATION
#    ${my_lib_path}/${ANDROID_ABI}/libfmod.so)
#
#add_library( fmodL
#             SHARED
#             IMPORTED )
#设置导入路径
#set_target_properties(
#    fmodL
#    PROPERTIES IMPORTED_LOCATION
#    ${my_lib_path}/${ANDROID_ABI}/libfmodL.so)


add_library(
             media_lib


             SHARED


             src/main/cpp/NativePlayerJni.cpp )


target_link_libraries(
                       media_lib
                       ${log-lib} )